var carLike = function (obj, loc) {
  obj.loc = loc;

  obj.move = function () {
    obj.loc++;
  };

  return obj;
};

var amy = carLike({}, 1);
amy.move();
var ben = carLike({}, 9);
ben.move();
